{
int rc;
- unsigned int end_pwrlvl;
entry_point_info_t ep;
/* Determine if the cpu exists of not */
* To turn this cpu on, specify which power
* levels need to be turned on
*/
- end_pwrlvl = PLAT_MAX_PWR_LVL;
- rc = psci_cpu_on_start(target_cpu,
- &ep,
- end_pwrlvl);
- return rc;
+ return psci_cpu_on_start(target_cpu, &ep);
}
unsigned int psci_version(void)
* platform handler as it can return error.
******************************************************************************/
int psci_cpu_on_start(u_register_t target_cpu,
- entry_point_info_t *ep,
- unsigned int end_pwrlvl)
+ entry_point_info_t *ep)
{
int rc;
unsigned int target_idx = plat_core_pos_by_mpidr(target_cpu);
/* Private exported functions from psci_on.c */
int psci_cpu_on_start(unsigned long target_cpu,
- entry_point_info_t *ep,
- unsigned int end_pwrlvl);
+ entry_point_info_t *ep);
void psci_cpu_on_finish(unsigned int cpu_idx,
psci_power_state_t *state_info);